<?php
//单个命名空间
spl_autoload_register(function ($name) {
    var_dump('spl_autoload_register name:', $name);
    $f =  preg_replace('~\\\\~', '/', $name) . '.php';
    //var_dump('file:'. $f);
    if (is_file($f)) return include_once $f;
});